<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="#{diretorios.template}/layout.xhtml">
	<ui:define name="content">
		<div>
			<h:outputText value="Cadastro da Notícia"
				style="font-size: 18px; color: #eeeeee" />
			<br />
		</div>
		<h:form>
			<p:panel header="Cadastro de Notícia"
				style="margin-bottom: 5px; border: hidden;" />
			<h:panelGrid columns="2" cellpadding="5">

				<h:outputLabel 		value="Qual o impacto da notícia?" style="font-size: 12px; font-family:arial" />
				<p:commandButton 	id="btn" value="Nacional" type="button" style="width: 150px;" />
				<h:outputLabel 		value="Quais os Atradores envolvidos?" style="font-size: 12px; font-family:arial" />

				<p:pickList value="#{cadastroNoticia.pick_atrasadores}"	var="atrasador" style="background-color: #ebebeb;" 
							itemLabel="#{atrasador}" itemValue="#{atrasador}" />

				<h:outputLabel />
				<p:commandButton value="Confirmar" oncomplete="cityDialog.show()" />

				<h:outputLabel 	value="Digite o título da Notícia: "	style="font-size: 12px; font-family:arial" />
				<p:inputText 	value=" " style="width: 450px;" />
				<h:outputLabel 	value="Digite o resumo da Notícia: "	style="font-size: 12px; font-family:arial" />
				<p:inputText 	value=" " style="width: 450px;" />
				<h:outputLabel 	value="Digite aqui a notícia: "	style="font-size: 12px; font-family:arial" />
				<p:inputTextarea value=" " style="width: 450px; height: 150px" />
				<h:outputLabel 	value="Fonte:" style="font-size: 12px; font-family:arial" />
				<p:inputText 	value=" " style="width: 450px;" />
				<h:outputLabel 	value=" " style="font-size: 12px; font-family:arial" />

				<p:commandButton 	value="Gravar Notícia" type="button" style="width: 140px;" />
				<h:outputLabel 		value=" " style="font-size: 12px; font-family:arial" />
				<h:outputLabel 		value=" " style="font-size: 12px; font-family:arial" />
				<h:outputLabel 		value=" " style="font-size: 12px; font-family:arial" />
				<p:commandButton 	value="Mais..." type="button" style="width: 80px;" />

			</h:panelGrid>
			<p:menu position="dynamic" trigger="btn" my="top" at="bottom"
				type="tiered" effect="slide">
				<p:submenu label="Estadual">
				</p:submenu>
				<p:menuitem value="Municipal" url="http://www.hotmail.com" />
			</p:menu>
		</h:form>
	</ui:define>
</ui:composition>

</html>